home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / PROGNG_C / C_WINDW.LZH / COLOR.C < prev    next >
Text File  |  1987-12-28  |  768b  |  26 lines

  1. /*    (c) Marietta Systems, Inc 1987
  2. *    All rights reserved
  3. */
  4. #include "mtest.h"
  5. /*
  6. */
  7. void main() {
  8. int z, x;
  9. clr_scrn("Test the appearance of colors");
  10. for (x = TOP_LINE + 3, z = 0 ; ; x += 3){
  11.     display("LOW low  ", 1, 2, low);
  12.     display("HIGH high ", 0, 0, high);
  13.     display("Reverse  ", 0, 0, reverse);
  14.     display(" Blink    ", 0, 0, blink);
  15.     display("ALT Low  ", 2, 2, alt_low);
  16.     display("ALT High ", 0, 0, alt_high);
  17.     display("ALT Reverse ", 0, 0, alt_reverse);
  18.     display(" Blank  ", 0, 0, blank);
  19.     if (z == _COLOR) break;
  20.     z = mk_wndw(x , x, x + 3, x + 40, "Low window head");
  21.     idleloop(36);
  22.     }
  23. disp_err("Press any key to finish", 1);
  24. read_kb();
  25. goodbye(0);
  26. }